<%@ page language="java" import="java.util.*" pageEncoding="utf8"%>
<%@ page import="com.taobao.snowsnow.util.ReadIni" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>发货</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
	<style type="text/css">
		<!--
			.content {
				margin-left: 20;
			}
		-->
	</style>
	<link type="text/css" href="css/cupertino/jquery-ui-1.8.19.custom.css" rel="Stylesheet" />
	<link href="css/comm.css" type="text/css" rel="stylesheet">
	<link href="css/demos.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="js/jquery-latest.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.8.24.custom.min.js"></script>
	<script type="text/javascript" src="./js/sends.js"></script>
	<script type="text/javascript" src="./js/comm.js"></script>
	<script type="text/javascript">
		$(document).ready(function () {
	   		init();
	    });
	</script>
	<base target="_self"> 
  </head>
  
  <body>
  	<% 
  		request.setCharacterEncoding("utf8");
  		
  		String tid = request.getParameter("tid");
  		String expressName = new String(request.getParameter("expressName").getBytes("utf8"), "utf8");
  		
  		request.setAttribute("tid", tid); 
  		request.setAttribute("expressName", expressName); 
  		
  	%> 
  	<div class="demo" align="center">
  		<h1>发货</h1>
		<div id="buyyer_name">买家ID: </div>
		<div id="buyyer_address">买家发货地址: </div>
	    <form action="" id="form">
			<fieldset>
				<table>
					<tr>
						<td>订单号: </td>
						<td>
							${tid}
  							<input type="hidden" id='tid' name='tid' value='${tid }'/> 
						</td>
					</tr>
					<tr>
						<td>
							运单号:
						</td>
						<td>
							<input type="text" name="outSid" id="out_sid" /><br />
							<input type="hidden" name="expressCode" id="expressName" value="${ expressName }" />
						</td>
					</tr>
					
					<tr>
						<td>快递重量(单位[KG]): </td>
						<td><input type="text" name="weight" value="0.4" /><br /></td>
					</tr>
					
					<tr>
						<td>补发快递单:</td>
						<td>
							是:
							<input type="radio" name="resend" value="true" />&nbsp;
							否:
							<input type="radio" name="resend" checked="checked" value="false" />&nbsp;
						</td>
					</tr>
					
					<tr>
						<td>发货方式:</td>
						<td>
							在线下单：
							<input type="radio" name="send_type" value="true" />&nbsp;							
							离线下单：
							<input type="radio" checked="checked" name="send_type" value="false" />
						</td>
					</tr>
					
					<tr>
						<td>是否到付: 	</td>
						<td><input type="checkbox" name="freightCollect" /></td>
					</tr>
					
					<tr>
						<td>是否月结: 	</td>
						<td><input type="checkbox" name="monthlyBalance" checked="checked" /><!-- <s:checkbox  name="expressRecord.monthlyBalance" value="true" /> --></td>
					</tr> 
					<tr>
						<td colspan="2">
							<button type='button' onclick='sendGoods();return false;' >提交</button>
							<input type="reset" value="重置" />
						</td>
					</tr>
				</table>
			</fieldset>
			</form>
  	</div>
  </body>
</html>
